import Vue from 'vue';
import Vuex from 'vuex';
import * as actions from './actions';
import * as getters from './getters';

import publishMedia from './modules/publishMedia.js';
import article from './modules/article.js';
import user from './modules/user.js';
import floatBox from './modules/floatBox.js';


import column from './modules/column.js';
import content from './modules/content.js';
import comment from './modules/comment.js';
import createInfo from './modules/createInfo.js';
Vue.use(Vuex);

const debug = process.env.NODE_ENV !== 'production';

export default new Vuex.Store({
  actions,
  getters,
  modules: {
    publishMedia,
    article,
    user,
    floatBox,
    column,
    content,
    comment,
    createInfo
  },
  strict: debug
});
